<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h4>width给图片限制宽度</h4>
  
    <h4>height给图片限制宽度</h4>
    <img src="myfamilyphoto.jpg" width="500" height="200"/><br />
    <img src="myfamilyphoto.jpg" width="500" border="15"/>
    
</body>
</html>